import React,{Component,Fragment} from 'react';
class Text extends Component { 
	constructor(props) {//啃食踹咳得
	  super(props)
		this.handClick=this.handClick.bind(this)
	}
	render(){
		const {content,test}=this.props
		return (
			<div onClick={this.handClick}>{content}</div>
		);
	}
	handClick(){// this.props.index
		console.log("text.js")
	}
}
export default Text;